home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia1.dir / 00922_Script_Alien Payoff exit < prev    next >
Text File  |  1995-05-21  |  793b  |  35 lines

  1. on exitFrame
  2.   global length, ZappedOrNot, snap1, snap2, theMovieName, gtheday
  3.   if the movieTime of sprite 48 > length then
  4.     put the movietime of sprite 48 into ZappedOrNot
  5.     repeat with d = 9 to 10
  6.       puppetsprite d, false
  7.     end repeat
  8.     puppetsprite 48, false
  9.     set the movietime of sprite 48 to 0
  10.     set the sound of cast theMovieName to 0
  11.     updatestage
  12.     
  13.     if ZappedOrNot >= 1200 then
  14.       updatestage
  15.       puppetsound 0
  16.       go frame "AlienParalyze"
  17.       exit
  18.     end if
  19.     
  20.     if snap1 <> 0 then
  21.       updatestage
  22.       puppetsound 0
  23.       go frame "AlienDarkroom"
  24.       exit
  25.     else
  26.       updatestage
  27.       puppetsound 0
  28.       go frame gtheDay & "NoShots"
  29.       exit
  30.     end if
  31.     
  32.   else
  33.     go to the frame
  34.   end if
  35. end